#!/usr/bin/env node

const request = require('request');

const options = {
  url: 'http://119.23.204.245:9090/get_one',
  headers: {
    'User-Agent': 'request'
  }
};

function callback(error, response, body) {
  if (!error && response.statusCode == 200) {
    const info = JSON.parse(body);
    console.log(info.data.content)
  }
}

request(options, callback);